Uncommented keyframe update function for testing.