updated dependencies in examples
resolved warnings in examples