edit panel structure editation

not fully debugged