update structure of payload