update whitelist functionality