Update sql
Removed obsolete data