update deprecated methods