State paying $49M to replace child welfare computer system