update input frame length demo