adding edit and delete capabilities