updated size of frame