Frappe Client TimestampMismatchError

Hi team,

I tried to connect to ERP server, when someone changes Employee document on the main server then changes will be updated on the local server too. I tried to use FrappeClient connector.
So, I created on_update method for Employee where I use FrappeClient connector update method but I received the TimestampMistmatchError. Can someone recommend me something, please?

Traceback (most recent call last):
          File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 66, in application
            response = frappe.api.handle()
          File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 95, in handle
          File "/home/frappe/frappe-bench/apps/frappe/frappe/model/", line 260, in save
            return self._save(*args, **kwargs)
          File "/home/frappe/frappe-bench/apps/frappe/frappe/model/", line 290, in _save
          File "/home/frappe/frappe-bench/apps/frappe/frappe/model/", line 641, in check_if_latest
          File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 338, in msgprint
          File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 311, in _raise_exception
            raise raise_exception(msg)
        TimestampMismatchError: Error: Document has been modified after you have opened it (2019-05-17 12:10:25.116772, 2019-05-17 12:19:16.031046). Please refresh to get the latest document.