update java monitor