I updated the contents of the functions