Update changeDirection