updating db models