update category document - get advantage of mongoDB