code: def replace_component(self, name, callable, provides=None, depends=None):
          
          self.remove_component(name)
          self.add_component(name, callable, provides, depends)
docs: Changes an existing component with a given name, invalidating all the values computed by
          the previous component and its successors.