Updates the publish button