update rate template for sorting