update dependencies and fix licences