submit to db