modify db handler