Addes edti and delete functionality