update calls due to new lib
call index attr