updates syntax in user model