updating documentation of sample