Added editDocs function!