fix docs, update sample