updating config file validation