update mongoose schema