update item and category creating logic
refactor item and category controllers