The upgrade reflects Pakistan's efforts to rebuild its foreign exchange reserves and advance economic reforms.