@HanaO, I would try the following:
- Download the file from SharePoint
- Modify the file
- Upload the file to SharePoint
- Open the file in SharePoint Online Webview - check if the changes are present
- If not try to refresh the webpage and check again
If that doesn’t help try to upload the file under a different name and check if the changes were applied correctly.