finish update subcommand