updating schema and user models