update sample applications for latest version