update thread_java