updates a groovy/scala translation