Update to payload usage. Added "payload_changed" flag to event structure