write db file config 2