Merge pull request #476 from 7sharp9/master

Updated obsolete API calls