updating examples in doc