shadow: add improved pointer updates