updated documentations for samples 42 and 43