Update direction