update query path