updating changes to reflect changes in structure and variables