added database model
db changes