Add update entity sample.