update mongo db