Allows specifying which order attributes to update

Updates update_order and write_order method in client.rb. Read comments
for more information.