Update ugm_core.bash