added delete corerating to api