Updating planning for perception