update content in index