Autopublish on page save