Refactored rrd_update code in preparation of finding the HW update