fixed #25 does now not clear the collection befor readding the docs. adds new objects and removes deleted objects explicitly