Solved Difficulties with Updatethread