Question: what is the difference between need and needed?
Answer: In spoken language we might hear "need". However, "needed - past form" is correct because it follows the first verb "knew", which is the past. We can say the past "needed" is correct.