update video code