Update XML story with closed tags