Added edit and delete group functionality