fixed issue where editing a spot would create a new spot