updated onCentersUpdated signiture