<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def update_radii(self, radii):
        '''Update the radii inplace'''
        self.radii = np.array(radii, dtype='float32')
        prim_radii = self._gen_radii(self.radii)
        
        self._radii_vbo.set_data(prim_radii)
        self.widget.update()