udpate proto