cog added to segments and categories, exist data in edit form inputs