update whitelist_uri handler