upgrade core function
Merge branch 'release/v0.5.2'