Implementde edit action for the tickets controller