Revised id generation of contact
Added delta records to csv