addapt examples to new version