Update deprecation warning