modify db manager