Update gamma_control.c