Update ref when used as submodule