you have to make application under order 1 Rule 10 for adding parties as defendants
Order 1, Rule 10(2): The court may at any stage of the proceedings, either upon or without the application of either party, and on such terms as may appear to the court to be just, order that the name of any party improperly joined, whether as plaintiff or defendant, be struck out, and that the name of any person who ought to have been joined, whether as plaintiff or defendant, or whose presence before the court may be necessary in order to enable the court effectually and completely to adjudicate upon and settle all the questions involved in the suit be added".
2) then apply to amend plaint