Updates publish button