update map refresh and exception handle