Update and rename index