Add in DocManager.updateDoc method