[PEI-1077] update function