fix #43 and update dependencies.