Update function to print all arguments