update index for share