lib/functions: header update