refactor config data