City agrees to pay 65 percent of Hoopfest security costs