update gui for menu funtion and check internet connect