update vector calc