storage db wrapper