Update report-functions.sh