Update codesamples