change pulic_date when saving