update modules and small db fixes