Update Event in PTQuery

Added Update Event in PTQuery