Update path to ref