modified updater to update all data at once