Converting Update to XOG

Converting DB direct Update to XOG format and including Debugging info