Edit not working due to Date format
Added Edit func