Updated the update method to allow you to pass in key/value array.