fixed deep-deep overwrite issue

fixed deep-deep overwrite issue and examples updated.