modify the db of submit.