modify vector