update documentation
allow command to read from stdin