changed database structure for report update