mongoose schemas and database synchronization