Update config format
Update bot connect method