update samples and build