update DirectionController