updated the post request to show data