Add smart updating- refresh only if the position has changed.