changed delete API methods to return bool