update dependencies + remove unused code