modify database model