Adding edit case