updates date in post