update require logic
update readme