Fixed small bug in video update