update the output of rain command