update rpc for var. declars add restart service