added copy code to update gh pages examples