add register func
modify model
Add update model