update of reporting function