update source files with examples