updated the deprecated message