add if-statement for 0 len list in flistUpd