New function to update one or more columns of a single table