update readme code samples