jtong update inlined logic