Added updateAll method