update sample.coffee