revamp of datainstancerserviceimpl implementation