Script that updates positions for lag removal