update dependencies, small source fixes