ORM: added updating data in a database