update examples
Fix examples and add library dependencies