update sample code with README