Move database gems to apropriate groups