upgrade map drawing