update sample usage