edit working and persisting