Upate index