updates mape when exiting out of routePreview