changed manager utils to have a different setup. Also added an optional return_upserts flag to return upserts on a bulk upser