Update creating index