update search: from get to post