The upgraded beam monitor system of the FAMU experiment at RIKEN–RAL