add Delete and Edit functionality