update the array name from s to a