<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update(self, obj):
 """ Set this instance up based on another instance :param obj: Instance to copy from :type obj: APPMessage :rtype: None """

        if isinstance(obj, APPMessage):
            self._header = obj._header
            self._payload = obj._payload