update the swift