Modify db is optional