Added edit functionality and existing check