added category object update
added updateCategory