modify db save method