modify register model