updates button, span regex