<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, asns):
 """ Method to update asns :param asns: List containing asns desired to updated :return: None """


        data = {'asns': asns}
        asns_ids = [str(env.get('id')) for env in asns]

        return super(ApiV4As, self).put('api/v4/as/%s/' %
                                               ';'.join(asns_ids), data)