update sample for lib 6.7.8.7