added upgrader
added trigger_rule dao and bao