Update sha query path