Add index prop to bucket