update publish time on edit