Change mongo object dynamically instead of set attribute by hand