flush map after changing connection url