Hotfix update calculated properties

Moved the calls to updateCalculatedProperties from the preInsert and preUpdate to postInsert and postUpdate orm events.