fix update frame size