update interface
add var index