update Ruby number & arithmetic