updated the biorain controller