working addKeyframe and finishNote, adding update loop