Implemented edit event from detail page