update parse invert record
update code style and add index merge