Detroit, Mich. reach agreement on milestones for fund money