validation for edit mode added
md file was updated