update map direction