Update the arrays at the proper time.