update the setup index - create if deleting existing, update if not.

Note - just whacked some hacky code in there for the time being... oops.