coreData model updated for deletion method