update docuement description and fix mqtt connect