update sample & close #4