Update resize API