simplify usage: update sample