update mjthread
add mjthread cb
update mjthread