Added ticket editing functionality