Open this page in the API Guide

ParameterTimeHierarchyOffset.refreshLevels Method

Will update the levels in the UI.