complete basic part of Model class
update user model