updated to use Document table instead of taskbuffer
Merge remote-tracking branch 'origin/master'