added final iteration data update