Implement edit action for the tickets contorller