Update examples
Update parameters to readline() and friends