updated models and mongoose connection