update register
update register