save last read record to db