changed the way how to store data in the config list