example code updated
updated documentations