updates index content