Updated examples
Removing warnings in example