added test of edit/update