added missing SQLite asset deletion guard on update