update gandi based on env flag