update index in package