updated get template for rating.