changes to validator and agent manager