vector update