Implement edit action for tickets controller