edit plantcode