add updating tickets function