code: def update(self, dependency, svc, svc_ref, old_properties, new_value=False):
          # type: (Any, Any, ServiceReference, dict, bool) -> None
          
          with self._lock:
              self.__update_binding(
                  dependency, svc, svc_ref, old_properties, new_value
              )
              self.check_lifecycle()
docs: Called by a dependency manager when the properties of an injected
          dependency have been updated.
  
          :param dependency: The dependency handler
          :param svc: The injected service
          :param svc_ref: The reference of the injected service
          :param old_properties: Previous properties of the dependency
          :param new_value: If True, inject the new value of the handler