<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(cls, resource, params, background=False):
 """ Update this IP """

        cls.echo('Updating your IP')
        result = cls.call('hosting.ip.update', cls.usable_id(resource),
                          params)
        if not background:
            cls.display_progress(result)
        return result