update code due to Jinging request