Updated loading status API call