Finally solved the bug to update medal styles along with position.