update dependencies
refactor to emit errors and push files