update samples to latest version