Update vector