upgrade mongoose, meta refs