Updating RubberBand code