fix seqnum update
get rid of PathPiece stuff and put the key in directly as a hidden field.