update prog6 of cs2