updating rpc with transferstate