spells are now updated if a spell with the same id (i.e. name) already exists. Otherwise, a new spell is created