updating with mongo stuff