updates lambda stuff for java8