update publish button