update raty in the model (user and school)