<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def on_property_change(self, name, old_value, new_value):
 """ Called by the instance manager when a component property is modified :param name: The changed property name :param old_value: The previous property value :param new_value: The new property value """

        if self._registration is not None:
            # use the registration to trigger the service event
            self._registration.set_properties({name: new_value})