add validation on editing ticket