Update readme to include corrected api example