change to db