Update deprecated method
Merge pull request #7 from JJSaccolo/master

Update deprecated method