Update event.php

profile integration (some part)