script to update notification preferences en masse