Update for swap