Updated new document to new ui format