updating video dimensions