update sample and framework