#NEWLINE# def update_user_activities( self , activities ) : #NEWLINE# #INDENT# '\n        Update the user activities\n        :param activities: the activities to update\n        ' #NEWLINE# for activity in self : #NEWLINE# #INDENT# self . add_user_activity ( activity . actor_id , activity )