made manufacturer and category optional in component edit/add