writes to mongo now