Update functions script with current examples