Updates the deprecation warning.