fix links.
new record logic.
adding record delete
delete record