Updating context passed in callback to events