edit the return value of post method