updated user model to latest version