changed the delete is handles for remote storage