updated pattern for date