iOS files sync

When using the my cloud integration in the iOS files app, the files do not update on multiple devices. If I edit a file on the iPad it does not update the file when opening from the iPhone so I end up with 2 different versions. See attached screenshots. Anyone else have the same problem?