simplebgc: adding edit support