updated update command to accept line codes F1, D1 and T1, tested