Updated examples
Fixed old syntax in example