added index syncing before saving to allow chats within the same dropbox account