update to api for requests