Update data and code