updated changing lanes logic