Update and rename Index to functions