add update function
add update
add constants
add execute file. to run the program