How to update rates in bulk through the template