fixed datacenter dlete function and made it so that adding and updating datacenters will only hit the test datacenter definition unless we are on researchdata