Updating the registers formula.