added Document.update() function
remove unused function
better path parsing
little refactoring, adding unset method
more tests
object support