Refactored code - formed update_report()