Learning update record with ORM