fix edit saving with new backend