Removed unused code from patch_handler
Fixed patch handler and update_reports method