Renamed staged_changes to changes