Update sdb and some minor fixes for 'tf' and 't'