changed db, model