Implemented edit action for the action for the tickets controller