Improve db settings 2