Added support for update with command line tool