Doctrine preUpdate event happens after onFlush which was a problem. Now we do everything on flush