Added xpatch to batch update