After a plaintiff files a complaint in litigation, she may discover additional facts or legal theories that she wants to present to the court. Or she may discover errors in the complaint that she wants to fix. In either case, she may amend her complaint.

https://www.unpredictableblog.com/blog/amended-complaints