adding edit and delete actions