update config.db
fix Upper value for Distance