Edit and delete group functionality