added a delete_run api