update readme example for library