update java usage