updated REST call