Update plant_raw and flags