fixing video update bug