Perform an update