update Thread bug