update envelop sample