updates to code usage in readme