modify db model