Update resize script