Update get_activities.m