Implement update and delete action for ticket API