update vectorType for use with non-class types