Merge "[pm] fix dynamic library after update and restart" into main