updating vector objects