update internal frame