; and (ii) the number of refugees who have become homeless and the number at severe risk of becoming homeless. (D) (i) Beginning on the fifth year after arrival of a refugee and every 5 years thereafter until the end of the 20th year after arrival, the Assistant Secretary shall, to the extent practicable, gather longitudinal information relating to refugee self-sufficiency and economic contributions to the United States including employment status, earnings and advancement. (ii) The longitudinal study shall consider additional factors related to self-sufficiency and integration, including family self-sufficiency and caretaking, barriers to and opportunities for integration of the children of refugees and their descendants, and elderly resettled refugees. (E) Not less frequently than annually, the Assistant Secretary shall— (i) update the data collected under this paragraph; (ii) submit to Congress a report on such data; and (iii) not later than 270 days after the end of the fiscal year following the year for which the data was collected, make the data available to the public on the website of the Office of Refugee Resettlement. . 149. Refugee assistance (a) Amendments to social services funding Section 412(c)(1)(B) of the Immigration and Nationality Act ( 8 U.S.C. 1522(c)(1)(B) ) is amended to read as follows: (B) The funds available for a fiscal year for grants and contracts under subparagraph (A) shall be allocated among the States based on a combination of— (i) the total number or refugees (including children and adults) who arrived in the United States not more than 36 months before the beginning of such fiscal year and are actually residing in each State (taking into account secondary migration) as of the beginning of the fiscal year; (ii) the total number of all other eligible populations served by the Office during the period described who are residing in the State as of the beginning of the fiscal year