voltage regulator

What is the updated version and how should it be wired? I seen the diagrams but seems everyone that did it like that had problems