do I connect the .01uf capacitor to vin or gnd of the power supply?
No it's a 0.1uF capacitor and goes from the reset to the RTS line of the serial port. That way when it connects it resets. Otherwise you have to press the reset just after you send the upload command.
you mean DTR, right?