An indictment or information shall not be abated by reason of any misnomer or dilatory plea; but in such case the court shall forthwith cause the same to be amended according to the proof, and proceed as though such plea had not been pleaded; and an indictment shall not be held insufficient for want of, or imperfection in, the addition of any defendant.