Update First Function of program