Implemented edit action for tickets controller