update dependencies and prepare to add to npm