Update for rewrite of program