view and update threads
solve conflict between variables assignement