code samples and instructions update