update register button