changes docsets in db
refactor db scripts