[Hint] improved 'updatePosition'