complete updating the examples: all run successfully