Use the updatetool command:
If Update Tool is not installed, you will be prompted to install it. Install the tool if desired, then use the updatetool command to start the tool. Extensive online help is available from the tool's Help menu.
A command-line interface is also available for Update Tool. The command-line interface uses the pkg command and enables you to perform most of the tasks provided by the graphical version. For more information about the pkg command, see Chapter 10, Extending GlassFish Server, in Oracle GlassFish Server 3.0.1 Administration Guide.