updates for default values, id and name attributes