update date formate