category edit and deletion