Fix doctrine listeners

Fix doctrine listeners (preFlush or postFlush event not firing):
We must add preFlush or postFlush event  to listener for update index after persist, update or delete event