add two cfg and data update