update date_format helper