York County plans to spend $1 million to bolster failing child welfare office