updated unitmeanfield