Question: what is the difference between update and fixedupdate?
Answer: Update runs once per frame. FixedUpdate can run once, zero, or several times per frame, depending on how many physics frames per second are set in the time settings, and how fast/slow the framerate is. Also refer to the answer given by duck in the same forum for a detailed explanation of the difference between the two.