added more cleanup options using lastupdated
sql updates