write db file config 4