Update button functionality when registering for events