adding option to update all data

Updating all data in table, instead of going thru loop to do it.