Updating data init to use updateRatio