persist category with mongoose