update demo
only include exports in amd module if necessary
update stuff