Implemented edit action for tickets