Updating to date format to yy-mm-dd