Update database path on settings.