Add civicrm_post hook to regenerate member buttons.