use EntityManger to return latest apm config