update handlerthread