change deprecated classes and methods