; and (B) striking such section 501 and inserting such section 502 . (8) Section 520 of the Omnibus Crime Control and Safe Streets Act of 1968 ( 34 U.S.C. 10201 ) is amended as follows: (A) Subsection (a)(2) is amended by striking section 505 (formula grants) and section 515 (discretionary grants) and inserting section 505 ( 34 U.S.C. 10156 ) (formula grants) and section 515 ( 34 U.S.C. 10171 ) (discretionary grants) . (B) Subsection (b)(2) is amended by striking section 505 (formula grants) and inserting section 505 ( 34 U.S.C. 10156 ) (formula grants) . (9) Section 1086(d)(2) of the Dale Long Public Safety Officers' Benefits Improvements Act of 2012 ( Public Law 112–239 , division A, title X, section 1086, 34 U.S.C. 10251 note) is amended as follows: (A) Subparagraph (A) is amended by— (i) striking section 1204(7) of title I of the Omnibus Crime Control and Safe Streets Act of 1968 and inserting section 1204(10) of title I of the Omnibus Crime Control and Safe Streets Act of 1968 ( 24 U.S.C. 10284(10) )