updating to the new model