Small bug fixes and update dbdocs base db