at the facility during the preceding month. (f) Online detainee locator system The Secretary of Homeland Security shall ensure that the online detainee locator system maintained by the Department of Homeland Security, or any successor system, is updated not later than 12 hours after an alien is taken into custody or released from custody by the Department of Homeland Security, transferred to, or detained in, a detention facility, or removed from the United States. (g) Information collected and maintained for aliens in DHS custody The Secretary of Homeland Security shall collect and maintain, for each alien in the custody of the Department of Homeland Security, the following information: (1) The gender and age of the alien. (2) The date on which the alien was detained. (3) Whether the alien is considered a vulnerable person (as such term is defined in section 236(g) of the Immigration and Nationality Act ( 8 U.S.C. 1226(g) ) or a primary caregiver. (4) The provision of law under with the Secretary is authorized to detain the alien. (5) The location where the alien is detained. (6) Any transfer of the alien to another detention facility, and the reason for such transfer. (7) The status and basis of any removal proceedings. (8) The initial custody determination made by Immigration and Customs Enforcement, and any review of that determination. (9) If applicable, the date of the alien’s release or removal, and the reason for such release or removal. (10) Whether the alien is subject to a final order of removal. 4. Cause of action (a) In general An individual who is detained in a facility that is required to comply with the standards described in section 2, and who is injured as a result of a violation of such standards, may file a claim in the appropriate district court of the United States. (b) Recovery In a civil action under this section, the court may order injunctive relief and compensatory damages, and may award the prevailing party reasonable attorney fees, and costs. 5. DHS detention facility construction and