consolodating db collections