updates dependency versions and fixes up mongoose schema registrations