updated mongoose schemas