few changes in eXistdb part.