update doctrine event listener.