Fixes #6182 - Dynflowized repository update

- [x] Dynflowize repository update
- [x] Fix old tests
- [x] Make new tests
Nitpick - equal empty lines at the beginning and end of the class.