Update ActivitiesDynamic.py