update interfaces of vector by lua