added updateDeployments with ugly code for the bloom