This code is not going to work, you need to write update request on child entity. As I said best option is to implement it with Workflow, you can also write plugin.
↧