Updating an object
>>> mary.age += 1
>>> commit()
Pony keeps track of all changed attributes. When the commit()
function is executed, all objects that were updated during the current transaction will be saved in the database. Pony saves only those attributes, that were changed during the database session.