Updated to access API v3