Update mongoose properly.