updated code in report