update dependencies, correction of some bugs.