Set Update(int t) virtual pure.
Fix misusages of pointers.