debugging save() on edit