The script for update is very simple. You need execute this script in the database that is necessary.
I recommend using execute by command:
mysql -u root -p -h localhost NMONDB < HMCDB_update.sql
mysql -u root -p -h localhost HMCDB < NMONDB_update.sql