update package.json
update endpoint
add index entry point