update resizeDiv