Updated examples and documentation