The camshaft position sensor is located as shown in the photo.
Remove the 5mm allen key bolt.
Pull up the sensor and replace with the newer version. Old ones are black and upgraded ones are grey.
Apply a small amount of oil to the O ring, refit and secure.
The engine fault codes must be reset using a Volkswagen diagnostic computer (5051) or similar commercially available code readers.
Disclaimer
The “How to†information on this site is for guidance only. Do not attempt a repair if you are not appropriately trained or do not have the correct tools or equipment to conduct a repair safely. Your product may differ from that shown.