change output layer for multiple outputs