Work on Media client feature using entity and doctrine event