updated project to java 8