update how to add your own html function