Delete function is working on a single record
Edit function in progress