added code to edit which friends you have invited to an event