Update outputname generation.