implemented server capable edit code