Added update event method