updated the deps and the code somewhat