update index to work in master