write collection name to model schema