updata delete and post item