modify db operations