update post to but params in the query, not body