updated the POST request