update example 8_2