Update data and config