update program 2.7