Function called if new class is created in a sample

update_new_class(g_env, app_env)

Arguments

g_env

R environment, global environment

app_env

R environment, app enviroment