allow to update a category

there was a bug that didn't allow you to update a category without changing it's name