update refs to vars dir