delete and updata res

add json lib