updates index from master