modify insert and read record