added 'update_docs' method for bulk updates