update config format to version 4