Update document-adapter.coffee