added db and collection to history