add ali and update c