updating directions