update handle state
remove print