Full support towrite DB state in data