Update direction definition