Updated the thread action controller