Removed update vector that is not used.