edited mongoose variable