Added some edit and delete functionality