diff --git a/IATI_Data_Flow.drawio.svg b/IATI_Data_Flow.drawio.svg
index 1ce3c64..36c9175 100644
--- a/IATI_Data_Flow.drawio.svg
+++ b/IATI_Data_Flow.drawio.svg
@@ -1,4 +1,1744 @@
-
-
-
-
\ No newline at end of file
+
+
diff --git a/README.md b/README.md
index 6f04ee5..0a1d3b6 100644
--- a/README.md
+++ b/README.md
@@ -222,7 +222,9 @@ Service Loop (when container starts)
## Functions
-- `main()` - Sends XML to the [iati-flattener](https://github.com/IATI/iati-flattener) which transforms it into a flat JSON document, then stores it in the database (`document.flattened_activities`) in JSONB format.
+- `main()` - Flattens XML into a flat JSON document, then stores it in the database (`document.flattened_activities`) in JSONB format.
+
+Used to use the [iati-flattener service](https://github.com/IATI/iati-flattener), but now it does it using a Python class it the same process.
## Logic