Add data and update config