minor: update deprecation warning