Add write callback
Update package.json