Udpate index