How do you change the camshaft position sensor in a '93 Pontiac Bonneville SE?

I have a 92 Bonneville thet needs a crank sensor how do you change it

Crank sensor is on the pulley and the teeth on the pulley sits inside of it for a megnetic response for computer. It is held on by two small bolts.

I changed my own on my 3.8L and my car doesnt want to shift correctly. You are able to adjust and its very picky where the correct position is.