Updated global variable in profile