Write command: makes API more consistent

Data is always expected to go first
Make API more uniform

Data goes first
Update example