Add function data to the UI