update db models