update with command line example