updates prog6 of cs2