You need to copy the new data to the object you have provided via args.
So before the line s1.change.emit() you have to add s1.data = d1
See this topic and this issue.
You need to copy the new data to the object you have provided via args.
So before the line s1.change.emit() you have to add s1.data = d1
See this topic and this issue.