Edit plants functionality