changed update() method on node
implemented autoindex
ensureIndex now on initialize
build clientside js