1UPDATE thread SET state='opened' WHERE state='done';