Updating vectors.