Updated obsolete API calls