update logic

Signed-off-by: chengym <chengym@marvell.com>