add support for adding & deleting documents