update references to activities