so how would i update the status table if i change the status of a tool?