update components set deleted_at = now() where name = ‘XXX’ and deleted_at is NULL; deleted_at = now();