chore: update deprecated methods