def _update(self, my_task):
my_task._inherit_data()<EOL>self._update_hook(my_task)<EOL>
Called whenever any event happens that may affect the
state of this task in the workflow. For example, if a predecessor
completes it makes sure to call this method so we can react.