update index and partail.