changed local API endpoint to remote