database and model changes