update examples, fix #353