update sample using v2.50