Implement edit ation for the tickets controller