updated some AI stuff