Update thread condition