update index in master