update proto, minor improvments