update register model