Updated resizing