Updating code for new data