updated examples in doc