change type in user model