Update scala example