sample code docs update