write db file config 6