update mongo import
generic interface for mongo types