update three short programs