create or append to activeProfiles tag