Modifying your index structure with the update API