Update variables in output collections.