Added form nodes recognition in add-node and updateModel functions