update core and java