Merge pull request #14 from Nurego/anatb-dev

support internal / external flag in update_plan method
wip for ilia