fix and update dependencies