Hierarchical model data update using setDataProperty

How to update Hierarchical model data using setDataProperty?