fix xml event update bug