updated examples and docs