updates how core data is reset so it should fix some bugs