; and (ii) meets the requirements of this subsection. (B) Coordination and consultation (i) Coordination Each State, to the maximum extent practicable, shall coordinate its State plan under this subsection with its State plan under part B of title IV of the Social Security Act ( 42 U.S.C. 621 et seq.) relating to child and family services and, in States electing to provide services under part E of title IV of the Social Security Act ( 42 U.S.C. 670 et seq.) relating to foster care prevention services, its State plan under such part E. (ii) Consultation In developing a State plan under this subsection, a State shall consult with community-based prevention and service agencies, parents and families affected by child abuse or neglect in the State, law enforcement, family court judges, prosecutors who handle criminal child abuse cases, and medical professionals engaged in the treatment of child abuse and neglect. (C) Duration and submission of plan Each State plan shall— (i) be submitted not less than every 5 years; and (ii) if necessary, revised by the State to inform the Secretary of any substantive changes, including— (I) any changes to State law or regulations, relating to the prevention of child abuse and neglect that may affect the eligibility of the State under this section