add submited flag to config file