On updating codename, user is demoted from manufacturer, added check so that manufacturer can only upload catalog entries for his own catalog, added an error alert modal for client side errors. Also, added client side check to prevent a user from getting promoted to manufacturer without a codename.