commented out hash covertion in agent update(not needed)