modify put to post