add db put wrapper functionality