Updating activities.