fixed updateremotedb