models, connection to db updated