updated sql files that was not inserting all rows