Update resize()