For updating module through the command line use the following command by replacing the the following variables
$PLUGIN_NAME is the name of the plugin that you want to update$DATABASE is the database name$USERNAME is the database username$PASSWORD is the database passowrd$HOST is the database host IP addressodoo -u $PLUGIN_NAME -d $DATABASE -r $USERNAME -w $PASSWORD --db_host=$HOST --stop-after-init