update rb script