fix edit event to be feasible only to the admin