added old entity as parameter for updates and added before delete hook
changed UpdateUser ro take a pointer
Merge branch 'feature/change-user-mail'