change search to post