update dependencies and remove unused stuff