updated conditional diagram