when I tried to add a new field using $push it is showing that the value is not defined.
Please share your code and a screenshot that shows the exact error message you get.
If you want to add new field to the documents in an existing collection, you can do it with
$set. But as @steevej said, you should update you question with an example and expected output.