In jet engines, turbine blade cooling has an extremely important role. The pin-fin array, which is situated close to the trailing edge of the blade, aids in internal cooling of the gas turbine blades and preserves the structural integrity of the blade. Previous studies often focused on pin-fin configurations, but the current research focuses on improving the geometry at the endwalls to reduce wake vortices behind the pin-fins and enhance heat transfer at the endwalls location. Using the k-ω turbulence model, a numerical study was conducted on a ribbed shape situated on the walls between pin-fin arrays, spanning a Reynolds number range of 7400 to 36000, in order to determine the heat transport characteristics. The heat transfer efficiency coefficient and Nusselt number increase dramatically with the revised wall configuration, according to the numerical data. The channel's heat transfer efficiency is increased by enlarging the heat transfer areas near the pin-fins and by the interaction of the flow with the endwalls. The addition of ribs causes the Nusselt number of the new model to climb from 78% to 96% at the previously given Reynolds numbers, and the heat transfer efficiency index to rise from 60% to 73%. The height (Hr), position (Lr), forward width (Wf), and backward width (Wb) of the ribs are among the geometric elements that were looked at in order to determine how they affected the performance of heat transmission. In comparison to the reference design, the parametric study results demonstrate that the best forward width (Wf/R=18.75%) and backward width (Wb/R=31.25%) increase the heat transfer efficiency index by 0.4% and 1.3%, respectively.