Renamed has_changed to has_changes