write db file config 7