changing map in builder for concurrent access