minor updates

chagned update func name, updated a few comments, minor example updates