change db to use background db