fixed post response when record is updated not created