update keyframe detection