update proto model