generateDocs update and remove backup files