You can look into using the SlingPostServlet functionality, which is the content CRUD API, to modify the page. https://sling.apache.org/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html
If you are planning to update the content on a frequent basis, you might consi...