update sample & docs