change message to payload