Sync up poly relationship between alerts and devices/device groups