write db file config 3