update reverse integer