update deprecated methods
Merge pull request #1 from thogg4/update-methods

update deprecated methods