How to set dashboard from split message

I have a function to split from message payload and save to mysql but i need to show in dash board also now i can get only first message how can i do this

var newMsg = msg.payload.split(',');
humidity = { payload: newMsg[0]};
temperature = { payload: newMsg[1]};
rssi = { payload: newMsg[2]};

[{"id":"5076c5d3.a25634","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"46319830.8448f","type":"udp in","z":"5076c5d3.a25634","name":"","iface":"","port":"41234","ipv":"udp4","multicast":"false","group":"","datatype":"utf8","x":100,"y":120,"wires":[["b0211227.1dae48","318e8144.d7fb4e"]]},{"id":"b0211227.1dae48","type":"debug","z":"5076c5d3.a25634","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":480,"y":177,"wires":[]},{"id":"318e8144.d7fb4e","type":"function","z":"5076c5d3.a25634","name":"hole1","func":"var newMsg = msg.payload.split(',');\nhumidity = { payload: newMsg[0]};\ntemperature = { payload: newMsg[1]};\nrssi = { payload: newMsg[2]};\nmsg.topic = \"INSERT INTO `uhm_weather_flushvalve`.`hole_1` (`humidity`,`temperature`,`rssi`) VALUES (\"+newMsg[0]+\",\"+ newMsg[1] +\",\"+ newMsg[2] +\")\";\nreturn msg;","outputs":5,"noerr":0,"x":253,"y":290,"wires":[["a53ed5ee.e76738"],["5d368d36.ce8834"],["7d50e889.4fe88"],[],[]]},{"id":"a53ed5ee.e76738","type":"mysql","z":"5076c5d3.a25634","mydb":"108076b6.141e21","name":"","x":550,"y":320,"wires":[[]]},{"id":"5d368d36.ce8834","type":"ui_gauge","z":"5076c5d3.a25634","name":"","group":"87404a56.37fd2","order":0,"width":"0","height":"0","gtype":"gage","title":"Humidity","label":"%","format":"{{value}}","min":0,"max":"100","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":524,"y":395,"wires":[]},{"id":"7d50e889.4fe88","type":"ui_gauge","z":"5076c5d3.a25634","name":"","group":"87404a56.37fd2","order":0,"width":0,"height":0,"gtype":"gage","title":"Temp","label":"C","format":"{{value}}","min":0,"max":"100","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":498,"y":446,"wires":[]},{"id":"108076b6.141e21","type":"MySQLdatabase","z":"","host":"127.0.0.1","port":"3306","db":"uhm_weather_flushvalve","tz":""},{"id":"87404a56.37fd2","type":"ui_group","z":"","name":"บ่อที่ 1","tab":"74cc60b1.f0c538","disp":true,"width":"6","collapse":false},{"id":"74cc60b1.f0c538","type":"ui_tab","z":"","name":"Home","icon":"dashboard"}]

You might want to read this section of the documentation: https://nodered.org/docs/writing-functions#multiple-outputs