update to use json payload