Add functionality to edit tickets