update resizing stuff