java code update