modifications done to database and model