update sample and readme