changing the date before publishing