updating examples and docs