TBD-891: Upgrade the functions library