Hello, problems with iFrame extension

When iFrame is created, how do i make it update size during game?