While using frm.call and frappe.call Document has been modified after you have opened it

I am trying to update the html fields after save the doc on refresh. to get value i am using frm.call or frappe.call.

But while doing i got error like
Error: Document has been modified after you have opened it (2023-08-17 15:47:09.126798, 2023-08-17 15:45:51.974056). Please refresh to get the latest document.
frm.refresh()
frm.reload_doc()
frm.refresh_fields()
three I tried not working…

or else is any other to update in HTML field in Python.
if i tried to set the rendered string in this HTML field got an error like.
pymysql.err.DataError: (1406, “Data too long for column ‘open_activitiess_html’ at row 1”)