Update report function