Is there any way to adjust the component values to get 5V output?
Right under the circuit diagram you used in your question it tells you: -



So with the values shown in your circuit, 1.65 volts is produced at FB with respect to pin S. For a 5 volt output you'll need to lower the 13 kohm resistor - you do the math. Also check this resource (Application Note AN-37
LinkSwitch-TN Family) to establish what inductance value changes are needed when operating at an output voltage of 5 volts.

Be also aware that this design is dangerous to the uninitiated - it doesn't provide any galvanic isolation from live AC voltages and can easily kill someone.