The updating of the model