Revert "change rpcs::checkduplicate_and_update"

This reverts commit c3ccf428bc4a12ef8bf00b5d77813dcda1f3d919.
Revert "create branch lab2"

This reverts commit 4e0e9719b1b863c841bd29961f30303e6cc915cf.