updated deprecation