adjusts mongo schema