add head/tail key
version change